/** 
 * Todo ：系统操作日志记录表
 * Version ：1.0
 * Author ：lxd  
 * Date ：Jul 31, 2012
*/ 

package com.jinxinol.basic.system.domain;

import com.jinxinol.core.common.Entity;

/**
 * @author Administrator
 *
 */
public class SysLogInfo extends Entity {
	public static final int MESSTYPE_RESULT_SUCCESS = 1;
	public static final int MESSTYPE_RESULT_FAILURE = 2;
	
	public static final int SUTYPE_TYPE_INSERT = 1;
	public static final int SUTYPE_TYPE_UPDATE = 2;
	public static final int SUTYPE_TYPE_DELETE = 3;
	public static final int SUTYPE_TYPE_QUERY = 4;
	public static final int SUTYPE_TYPE_UNKNOW = 5;
	
	private static final long serialVersionUID = 1L;
	
	public static final int SULEVEL_LEVEL_INFO = 1;
	public static final int SULEVEL_LEVEL_WARNING = 2;
	public static final int SULEVEL_LEVEL_ERROR = 3;
		
	private Integer id;		//
	private Integer suid;	//操作人ID
	private String suip;	//操作人IP
	private String sutime;	//操作时间
	private Integer sutype;	//操作类型 1新增 2修改 3删除 4查询
    private String sumess;	//操作信息说明
	private String suerror;	//错误信息
	private Integer messtype;//是否操作成功 1是 2否
	private String suname;   //操作人姓名
	private Integer sulevel; //日志等级
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getSuid() {
		return suid;
	}
	public void setSuid(Integer suid) {
		this.suid = suid;
	}
	public String getSuip() {
		return suip;
	}
	public void setSuip(String suip) {
		this.suip = suip;
	}
	public String getSutime() {
		return sutime;
	}
	public void setSutime(String sutime) {
		this.sutime = sutime;
	}
	public Integer getSutype() {
		return sutype;
	}
	public void setSutype(Integer sutype) {
		this.sutype = sutype;
	}
	public String getSumess() {
		return sumess;
	}
	public void setSumess(String sumess) {
		this.sumess = sumess;
	}
	public String getSuerror() {
		return suerror;
	}
	public void setSuerror(String suerror) {
		this.suerror = suerror;
	}
	public Integer getMesstype() {
		return messtype;
	}
	public void setMesstype(Integer messtype) {
		this.messtype = messtype;
	}
	public String getSuname() {
		return suname;
	}
	public void setSuname(String suname) {
		this.suname = suname;
	}
	public Integer getSulevel() {
		return sulevel;
	}
	public void setSulevel(Integer sulevel) {
		this.sulevel = sulevel;
	}
}
